
<hr/>

<div class="comment">
    <form class="form-group" action="{% url 'blog:comment' %}" method="post">
        {% csrf_token %}
        <input name="target" type="hidden" value="{{ target }}" />
        {{ comment_form }}
        <input type="submit" value=""/>
    </form>
    <!-- 评论列表 -->
    <ul class="list-group">
        {% for comment in comment_list %}
            <li class="list-group-item">
                <div class="nickname">
                    <a href="{{ comment.website }}">{{ comment.website }}</a>
                    <span>{{ comment.create_time }}</span>
                </div>
                <div class="comment-content">
                    {% autoescape off %}
                    {{ comment.content }}
                    {% endautoescape %}
                </div>
            </li>
        {% endfor %}
    </ul>
</div>